package com.elite.service;

import com.elite.entity.File;
import com.elite.entity.FileGoods;

import java.util.List;

/**
 * Created by Administrator on 2017/1/22.
 */
public interface FileService {

    void addFileImg(File file);

    void addFileGoods(FileGoods fileGoods);

    File selectByFileName(String fileName);

    FileGoods selectByUserId(Integer userId);

    List selectByGoodsId(Integer goodsId);

    File selectByPrimaryKey(Integer fileId);

    void updateByPrimaryKey(File file);

    void delete(Integer fileId);

}
